package com.fqgj.xjd.user.dao;

import com.fqgj.common.api.Page;
import com.fqgj.common.base.BaseMapper;
import com.fqgj.xjd.user.entity.TTaskCenterEntity;

import java.util.List;


public interface TTaskCenterDao extends BaseMapper<TTaskCenterEntity> {

    List<TTaskCenterEntity> selectListByStatusListAndTypeAndPage(List<Integer> statusList, int type, Page page);

    List<TTaskCenterEntity> selectListByStatusAndTypeAndPage(Integer status, int type, Page page);

    List<TTaskCenterEntity> selectListByStatusAndPage(List<Integer> statusList, Page page);

    void addTask(String userCode, String kycIdNumber, Integer taskType);

    void addTask(String userCode, String kycIdNumber, Integer taskType, String taskId, String req);

    void addFailTask(String userCode, Integer taskType, Integer taskStatus, String taskId);

}